package my.design.strategy;

/**
 * @author zp
 * @version 1.0
 * @description: 普通会员计算类
 * @date 2022/11/1 18:53
 */
public class PrimaryMemberStrategy implements MemberStrategy { // 实现策略
    //重写策略方法具体实现功能
    @Override
    public double calcPrice(double price, int n) {
        return price * n;
    }
}

